import request from "../../utils/request"


export function listall(){
    return request({
        url:"ddkbishe/ddkbishe/room/list",
        method:"get",
    })
}

export function list(payload){
    return request({
        url:"ddkbishe/ddkbishe/room/pageQuery",
        method:"post",
        data:payload
    })
}

export function update(payload){
    return request({
        url:"ddkbishe/ddkbishe/room/update",
        method:"put",
        data:payload
    })
}

export function remove(payload){
    return request({
        url:"ddkbishe/ddkbishe/room/remove/"+payload,
        method:"delete",
        data:payload
    })
}
export function save(payload){
    return request({
        url:"ddkbishe/ddkbishe/room/save",
        method:"post",
        data:payload
    })
}
